﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyCode.Project.Domain.Businesses.Menus
{
    /// <summary>
    /// 菜单项
    /// </summary>
    public class MenuItem
    {
        /// <summary>
        /// 菜单ID
        /// </summary>
        public Guid? Id { get; set; }

        /// <summary>
        /// 父菜单ID
        /// </summary>
        public Guid? ParentId { get; set; }

        /// <summary>
        /// 菜单名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 模块ID
        /// </summary>
        public Guid? ModuleId { get; set; }

        /// <summary>
        /// 标题=路由
        /// </summary>
        public string Caption { get; set; }

        /// <summary>
        /// 菜单图标
        /// </summary>
        public string Icon { get; set; }

        /// <summary>
        /// 提示。鼠标在菜单项上的提示内容
        /// </summary>
        public string Hint { get; set; }

        /// <summary>
        /// 系统类型。0:公用,11:公司系统,12:加盟商系统,13:店铺系统
        /// </summary>
        public int SystemType { get; set; }

        /// <summary>
        /// 状态。0:禁用,1:启用
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 是否开放给加盟商。1:开放,0:不开放
        /// </summary>
        public int OpenFlag { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int OrderNo { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Note { get; set; }
    }
}
